package com.MonkWorks.timedormitory;

import com.MonkWorks.timedormitory.R;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;

public class ServicesActivity extends Activity {

	private Button button_Back;
	
	private void initComponent(){
		button_Back = (Button)findViewById(R.id.btnBack);
		button_Back.setOnClickListener(new View.OnClickListener() {
			
			public void onClick(View v) {
				// TODO Auto-generated method stub
				
				Intent BackIntent = new Intent(v.getContext(), PunchActivity.class);
				startActivityForResult(BackIntent, 0);
				
			}
		});
	}
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_services);
        initComponent();
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_services, menu);
        return true;
    }
     
}
